package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.NewsContent;
import java.util.List;

public interface NewsContentMapper {
    //删
    int deleteByPrimaryKey(Long id);

    //增
    int insert(NewsContent record);

    //查单
    NewsContent selectByPrimaryKey(Long id);

    //查所有
    List<NewsContent> selectAll();

    //修改
    int updateByPrimaryKey(NewsContent record);
}